package cn.yx.common.web.constant.message;

import cn.yx.common.core.annotation.message.English;
import cn.yx.common.core.annotation.message.I18nMessage;
import cn.yx.common.core.annotation.message.SimplifiedChinese;

/**
 * <p>AppBaseController消息key常量</p>
 *
 * @author Wgssmart
 */
@I18nMessage
public final class AbstractBaseControllerMessageKey {

    private AbstractBaseControllerMessageKey() {
    }

    @SimplifiedChinese("保存成功")
    @English("Save succeed")
    public static final String SAVE_SUCCESS = "cn.yx.common.web.saveSuccess";

    @SimplifiedChinese("保存失败")
    @English("Save failed")
    public static final String SAVE_FAIL = "cn.yx.common.web.saveFail";

    @SimplifiedChinese("批量保存成功")
    @English("Batch save succeed")
    public static final String BATCH_SAVE_SUCCESS = "cn.yx.common.web.batchSaveSuccess";

    @SimplifiedChinese("批量保存失败")
    @English("Batch save failed")
    public static final String BATCH_SAVE_FAIL = "cn.yx.common.web.batchSaveFail";

    @SimplifiedChinese("保存或更新成功")
    @English("Save or update succeed")
    public static final String SAVE_OR_UPDATE_SUCCESS = "cn.yx.common.web.saveOrUpdateSuccess";

    @SimplifiedChinese("保存或更新失败")
    @English("Save or updated failed")
    public static final String SAVE_OR_UPDATE_FAIL = "cn.yx.common.web.saveOrUpdateFail";

    @SimplifiedChinese("批量保存或更新成功")
    @English("Batch save or update succeed")
    public static final String BATCH_SAVE_OR_UPDATE_SUCCESS = "cn.yx.common.web.batchSaveOrUpdateSuccess";

    @SimplifiedChinese("批量保存或更新失败")
    @English("Batch save or updated failed")
    public static final String BATCH_SAVE_OR_UPDATE_FAIL = "cn.yx.common.web.batchSaveOrUpdateFail";

    @SimplifiedChinese("删除成功")
    @English("Remove succeed")
    public static final String REMOVE_SUCCESS = "cn.yx.common.web.removeSuccess";

    @SimplifiedChinese("删除失败")
    @English("Remove failed")
    public static final String REMOVE_FAIL = "cn.yx.common.web.removeFail";

    @SimplifiedChinese("批量删除成功")
    @English("Batch remove succeed")
    public static final String BATCH_REMOVE_SUCCESS = "cn.yx.common.web.batchRemoveSuccess";

    @SimplifiedChinese("批量删除失败")
    @English("Batch remove failed")
    public static final String BATCH_REMOVE_FAIL = "cn.yx.common.web.batchRemoveFail";

    @SimplifiedChinese("更新成功")
    @English("Update succeed")
    public static final String UPDATE_SUCCESS = "cn.yx.common.web.updateSuccess";

    @SimplifiedChinese("更新失败")
    @English("Update failed")
    public static final String UPDATE_FAIL = "cn.yx.common.web.updateFail";

    @SimplifiedChinese("批量更新成功")
    @English("Batch update succeed")
    public static final String BATCH_UPDATE_SUCCESS = "cn.yx.common.web.batchUpdateSuccess";

    @SimplifiedChinese("批量更新失败")
    @English("Batch update failed")
    public static final String BATCH_UPDATE_FAIL = "cn.yx.common.web.batchUpdateFail";

    @SimplifiedChinese("查询成功")
    @English("Select succeed")
    public static final String SELECT_SUCCESS = "cn.yx.common.web.selectSuccess";

    @SimplifiedChinese("查询失败")
    @English("Select failed")
    public static final String SELECT_FAIL = "cn.yx.common.web.selectFail";

}
